package com.iven.xie.entity;

import lombok.Data;

import java.sql.Timestamp;

/**
 * @author xiezhendong
 */
@Data
public class DbTable {

    private String tableSchema;
    private String tableName;
    private String tableComment;
    private Timestamp createTime;

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append(this.getClass().getName());
        sb.append(" # tableSchema=" + (tableSchema == null ? "null" : tableSchema.toString()));
        sb.append("; tableName=" + (tableName == null ? "null" : tableName.toString()));
        sb.append("; tableComment=" + (tableComment == null ? "null" : tableComment.toString()));
        sb.append("; createTime=" + (createTime == null ? "null" : createTime.toString()));
        return sb.toString();
    }

}
